package com.ruoyi.mp.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;

import java.io.Serializable;

/**
 * 公众号文章视图对象 mp_article
 *
 * @author yh
 * @date 2025-05-05
 */
@Data
@ExcelIgnoreUnannotated
public class MpArticleVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ExcelProperty(value = "id")
    private Long id;

    /**
     * 主题
     */
    @ExcelProperty(value = "主题")
    private String theme;

    /**
     * 分类
     */
    @ExcelProperty(value = "分类", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "mp_article_type")
    private String type;

    /**
     * 题目
     */
    @ExcelProperty(value = "题目")
    private String title;

    /**
     * 内容
     */
    @ExcelProperty(value = "内容")
    private String content;

    /**
     * 美化内容
     */
    @ExcelProperty(value = "美化内容")
    private String contentHtml;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "mp_article_status")
    private Integer status;

    /**
     * 发布时间
     */
    @ExcelProperty(value = "发布时间")
    private Date publishTime;

    @ExcelProperty(value = "创建时间")
    private Date createTime;

    @ExcelProperty(value = "封面图mediaId")
    private String coverMediaId;

    private String draftMediaId;


}
